package com.yanqu.road.logic.bussiness.player.activity;

import com.yanqu.road.entity.activity.ActivityUserDigFloor;
import com.yanqu.road.logic.bussiness.DaoHelper;

import java.util.Map;

/**
 * @Author wpj
 * @Date 2020/12/13
 */
public class UserFloorBusiness {
    // 宝库数据
    public static Map<Integer, ActivityUserDigFloor> getActivityUserDigFloor(long userId) {
        return DaoHelper.getActivityFloorDaoImpl().getActivityUserDigFloor(userId);
    }

    public static boolean updateData(ActivityUserDigFloor activityUserDigFloor) {
        return DaoHelper.getActivityFloorDaoImpl().update(activityUserDigFloor);
    }

    public static boolean addData(ActivityUserDigFloor activityUserDigFloor) {
        return DaoHelper.getActivityFloorDaoImpl().add(activityUserDigFloor);
    }
}
